﻿
//

//


namespace EMSNet.Service;

/// <summary>
/// 能源字典输出参数
/// </summary>
public class EmsDictionaryOutput
{
    /// <summary>
    /// 主键Id
    /// </summary>
    public long Id { get; set; }    
    
    /// <summary>
    /// 父Id
    /// </summary>
    public long? pid { get; set; }    
    
    /// <summary>
    /// 父Id 描述
    /// </summary>
    public string pFkDisplayName { get; set; } 
    
    /// <summary>
    /// 名称
    /// </summary>
    public string? name { get; set; }    
    
    /// <summary>
    /// 编码
    /// </summary>
    public string? code { get; set; }    
    
    /// <summary>
    /// 租户Id
    /// </summary>
    public long? TenantId { get; set; }    
    
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }    
    
    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }    
    
    /// <summary>
    /// 创建者Id
    /// </summary>
    public long? CreateUserId { get; set; }    
    
    /// <summary>
    /// 创建者姓名
    /// </summary>
    public string? CreateUserName { get; set; }    
    
    /// <summary>
    /// 修改者Id
    /// </summary>
    public long? UpdateUserId { get; set; }    
    
    /// <summary>
    /// 修改者姓名
    /// </summary>
    public string? UpdateUserName { get; set; }    
    
    /// <summary>
    /// 创建者部门Id
    /// </summary>
    public long? CreateOrgId { get; set; }    
    
    /// <summary>
    /// 创建者部门名称
    /// </summary>
    public string? CreateOrgName { get; set; }    
    
    /// <summary>
    /// 软删除
    /// </summary>
    public bool IsDelete { get; set; }    
    
}

/// <summary>
/// 能源字典数据导入模板实体
/// </summary>
public class ExportEmsDictionaryOutput : ImportEmsDictionaryInput
{
    [ImporterHeader(IsIgnore = true)]
    [ExporterHeader(IsIgnore = true)]
    public override string Error { get; set; }
}
